home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / pfe0601.zip / FAQ.TXT < prev    next >
Text File  |  1995-03-24  |  18KB  |  422 lines

  1.                          Frequently Asked Questions
  2.                                      on
  3.                           Programmer's File Editor
  4.                          --------------------------
  5.  
  6.     [Answers in this file refer to facilities available in PFE 0.06.001]
  7.  
  8.     You may find information on any problem you have encountered in the
  9.  problems.txt file, which lists known major problems in the current release
  10.  
  11. --
  12.  
  13. Q. What version of PFE is recommended for my current environments? I use
  14. Windows 3.10, Windows NT and Windows 95
  15.  
  16. A. PFE is supplied in two forms: the 16-bit edition (PFE.EXE) and the
  17. 32-bit edition (PFE32.EXE). The recommended versions for various
  18. platforms are these:
  19.  
  20.     Windows 3.1x            16-bit edition
  21.     Windows NT 3.5            32-bit edition
  22.     Windows 95            32-bit edition
  23.  
  24. Although the 32-bit edition should function on a Windows 3.1x system if
  25. you have Win32s 1.20 installed, its use is not recommended. Some
  26. functionality is not available, and the version is not extensively
  27. tested in this mode
  28.  
  29. ----
  30.  
  31. Q. How can I arrange that edit windows are created to use the maximum area
  32. available in the MDI client area?
  33.  
  34. A. You can do this with the Options Preferences command. Start the
  35. preferences dialog and select "Window Control" from the list of option
  36. categories on the left. This shows you a panel that lets you configure
  37. exactly how child windows will be created
  38.  
  39. ----
  40.  
  41. Q. Why don't all the TrueType fonts I have installed on my system appear in the
  42. printer and screen fonts dialogs?
  43.  
  44. A. Because PFE is a programming-oriented text editor, rather than a word
  45. processor, it supports only fixed pitch fonts (ones in which all characters
  46. occupy the same width on screen or paper). There are, sadly, very few fixed
  47. pitch fonts available. There are no plans to add variable fixed pitch support
  48. in a future release.
  49.  
  50. ----
  51.  
  52. Q. How can I ensure that if I associate PFE with a file type in File Manager,
  53. double clicking on a file of that type will bring up a new PFE window rather
  54. than opening the file in an already-running instance?
  55.  
  56. A. Normally, whenever you start PFE, it will look to see if an instance is
  57. already running. If it is, this instance is activated, and the names of any
  58. files you give on the command line will be passed to it across a DDE link. If
  59. you want to force a new instance of PFE to start instead of activating an
  60. existing one, use the '/m' command line flag.
  61.  
  62. ----
  63.  
  64. Q. I want PFE to remember the names of more than the last 5 files I've edited,
  65. so I can pick them quickly from the File menu. How can I do this?
  66.  
  67. A. You can configure the Most Recently Used (MRU) list with the Options
  68. Preferences command. Start the preferences dialog, and select "File
  69. Menu" from the list of option categories on the left. This shows you the
  70. panel that configures the MRU list.
  71.  
  72. You can configure the total size of the list, and how many files from
  73. the list will appear on the File menu (you will be able to select from the
  74. entire list with a dialog command that will follow the list on the menu).
  75. You can also specify that the File menu should be drawn in two columns rather
  76. than one if you want to show a large number of files. Note that you will need
  77. to exit PFE and restart it before your changes take effect.
  78.  
  79. ----
  80.  
  81. Q. I don't like the standard Windows File Manager, and prefer to use a third
  82. party one. How can I get the File Manager item on the Execute menu to start
  83. this instead of the standard one?
  84.  
  85. A. You can configure what the various "Manager" items on the Execute
  86. menu do with the Options Preferences command. Start the preferences
  87. dialog and select "Windows Managers" from the list of option categories
  88. on the left to show the panel that handles this
  89.  
  90. For each of the menu items, you can specify that PFE should run either
  91. the standard manager program supplied with Windows, or runs a command
  92. line of your choice
  93.  
  94. ----
  95.  
  96. Q. I use 4DOS-for-NT as my Windows/NT command processor instead of Microsoft's
  97. cmd.exe - how can I get the Execute DOS Prompt and associated tool bar button to
  98. start this?
  99.  
  100. A. Normally, PFE will use the executable file named in the COMSPEC
  101. environment variable as the command processor. If this variable is not
  102. set, it uses the standard defaults "command.com" under Windows 3.1x, and
  103. "cmd.exe" under Windows NT
  104.  
  105. You can define the command processor you want to start with the Options
  106. Preferences command. Start the preferences dialog and select "DOS
  107. Shell" from the list of option categories on the left to show the
  108. relevant panel, and define your preference
  109.  
  110. ----
  111.  
  112. Q. What's the difference between the Execute Launch Application command and the
  113. Execute Launch Windows Tool command?
  114.  
  115. A. In terms of what they accomplish - to start a Windows or a DOS application
  116. running independently of PFE - there's none. Execute Launch Application starts
  117. a dialog that prompts you for a command line; it remembers the last command
  118. line you used, but that's all.
  119.  
  120. The Execute Launch Windows Tool command, by contrast, lets you define a whole
  121. set of command lines, and label each one with a meaningful name. For example,
  122. you could name a tool entry as "Edit Help File", and associate a command line
  123. that runs Word for Windows to edit a file. Or you could have one called "Build
  124. data file" that runs a DOS application with a set of files on its command line.
  125. You just pick the function you want from your mnemonic list, without needing to
  126. bother about what the command line has to be
  127.  
  128. ----
  129.  
  130. Q. I use Windows NT on MIPS and DEC Alpha platforms - is there an executable
  131. of PFE32 for these?
  132.  
  133. A. PFE32 exists only for Intel hardware. There are no plans for MIPS or DEC
  134. Alpha versions
  135.  
  136. ----
  137.  
  138. Q. How can I record my keyboard macros for use in other sessions?
  139.  
  140. A. This ability is not a part of the current PFE release. A future version will
  141. include savable keyboard macros, implemented as editable macro libraries
  142.  
  143. ----
  144.  
  145. Q. How does PFE manage to allow more than 32K of text to be edited in an edit
  146. control?
  147.  
  148. A. PFE doesn't, in fact, use standard edit controls to show text. The windows
  149. you see are ordinary MDI child windows, and the text is drawn explicitly by PFE
  150. as required. Internally, a complicated memory management system keeps track of
  151. where each line of each file is stored.
  152.  
  153. ----
  154.  
  155. Q. Why, if I have word wrap switched on for a window, will PFE wrap text only
  156. when I'm typing at the end of the line and not when I insert in the middle of
  157. it?
  158.  
  159. A. The current design of PFE is set to do things that way for efficiency
  160. reasons. A forthcoming release will feature a command to reflow the text of a
  161. paragraph so that it fits within the wrap margin.
  162.  
  163. ----
  164.  
  165. Q. Why do I get "Help file not found" when I ask for help?
  166.  
  167. A. Make sure that you have the help file pfe.hlp in the same directory as the
  168. pfe.exe or pfe32.exe executable program
  169.  
  170. ----
  171.  
  172. Q. Why is the default of 32 undoable actions so small? Surely, when I'm typing
  173. text, I'll fill that up in 32 keypresses?
  174.  
  175. A. Actually, no - the undo system doesn't work in quite that way. It records
  176. specific _actions_ in its stack, such as a drag-drop move of text, or a cut of
  177. the highlighted text. When you're typing, each keypress is considered as part
  178. of a _single_ action, which is terminated only when you do something different,
  179. like moving the caret with the arrow keys, or switching to another window.
  180.  
  181. Then, when you use the Undo Typing command, PFE will remove all the typing
  182. you've performed in that action (a future release of PFE will probably let you
  183. undo typing actions character-by-character too)
  184.  
  185. You can change the number of undo actions that PFE records with the
  186. Options Preferences command. Start the preferences dialog and select
  187. "Editing Files" from the list of option categories on the left to show
  188. the relevant panel that lets you set the size of the list
  189.  
  190. ----
  191.  
  192. Q. If I select some text and start to drag it to a new location, how can I
  193. change my mind without having to drop the text somewhere and then undo the
  194. action?
  195.  
  196. A. You can cancel a drag-and-drop in one of two ways. If the highlighted text
  197. is visible in the window, move the mouse cursor somewhere inside it and release
  198. the left button. Alternatively, press the Escape key before you release the
  199. left mouse button.
  200.  
  201. ----
  202.  
  203. Q. How can I use drag-and-drop to move text from one window to another?
  204.  
  205. A. In the current design, PFE supports drag-and-drop only _within_ a window.
  206. Inter-window operation may be added in a future release.
  207.  
  208. ----
  209.  
  210. Q. How can I configure PFE so that the File Save command and its associated
  211. tool bar button are always available? At the moment, I can only use the command
  212. when I've changed the file in some way.
  213.  
  214. A. By default, PFE enables the File Save command only when the file showing in
  215. a window has altered. This gives you some feedback (complementing the 'file
  216. changed' marker in the status bar) that helps you avoid un-necessary saves.
  217.  
  218. You can use the Options Preferences command to change this setting.
  219. Start the preferences dialog and select "Saving Files" from the list of
  220. option categories on the left to show the relevant panel. Check the box
  221. labelled "Allow File Save on unaltered files" to make the File Save
  222. command and the toolbar button always available
  223.  
  224. ----
  225.  
  226. Q. I like the window that runs DOS commands with output capture to start full
  227. screen, and to have specific tuning details set. How can I do this?
  228.  
  229. A. DOS commands with output capture are run by either the $pfedos.exe (for
  230. Windows 3) or $pfeds32.exe (for Windows/NT) helper modules. To change how the
  231. windows are created, set up suitable PIF files $pfedos.pif and/or $pfeds32.pif
  232. in the same directory, and use the Windows PIF editor to set the details as you
  233. require
  234.  
  235. ----
  236.  
  237. Q. How do I insert a Form Feed into a file, or specify it in the Find and
  238. Replace dialogs?
  239.  
  240. A. To insert a Form Feed (or any other non-typable character) use the
  241. EditTextInsertASCIICode command, which is by default mapped to Ctrl+Q. This
  242. starts up a dialog that lets you select Esc and Ctrl+A - Ctrl+Z easily by name,
  243. or specify any ASCII code you like as a number.
  244.  
  245. To specify Form Feed in the Find or Replace dialogs, write it as the two-
  246. character sequence "\f". You can also specify end-of-line by "\n" and tab by
  247. "\t"; and you can specify an arbitrary code as "\xhh", where "hh" represents
  248. two hex digits. Remember that if you actually want a "\" character, you need to
  249. write it as "\\".
  250.  
  251. ----
  252.  
  253. Q. Why do I see lots of files with type .&&& (PFE version 0.05.006) or .$$$
  254. (PFE version 0.05.007 and later) in my directories?
  255.  
  256. A. These are the backup files that PFE produces whenever you save a file. If a
  257. file of the same name exists already, PFE renames it with a type of .$$$ before
  258. writing the new data to disk.
  259.  
  260. The Options Preferences command allows you to configure some defaults
  261. for how backup is handled. Start the preferences dialog and select "Backup"
  262. from the list of option categories on the left to show the relevant
  263. panel.
  264.  
  265. In this dialog, you can disable all backup permanently; choose to have
  266. PFE make backup files to the same directory as the original file but
  267. with a file extension of your choice; or to make the copy into a file of
  268. the same name as the original, but in a subdirectory of the directory
  269. containing it
  270.  
  271. The File Save As dialog and the Options Default Modes and Options
  272. Current Modes dialogs also let you control some backup actions on a per-
  273. file basis
  274.  
  275. ----
  276.  
  277. Q. I am using the Italian version of Windows 3.1x, and when I use the
  278. File Open command I can only specify the name of the file to open by
  279. typing it in to the file name control at top left - selecting the name
  280. by mouse from the list of files doesn't work
  281.  
  282. A. The various file opening dialogs are not controlled by PFE, but
  283. instead are standard Windows features provided by Microsoft. The code
  284. that creates the dialogs is held in a file called "commdlg.dll" which is
  285. kept in your Windows system directory.
  286.  
  287. Some early versions of the Italian language commdlg.dll appear to have
  288. bugs that affect the dialogs when used by PFE (and probably other
  289. applications too). You should contact your supplier or your local Microsoft
  290. company to obtain an up-to-date version of the commdlg.dll file.
  291.  
  292. ----
  293.  
  294. Q. I used the Options Preferences, Options Default Modes and Options
  295. Current Modes command to set background colours for my edit windows and
  296. the main PFE workspace. Why are the colours I get not the ones I
  297. selected?
  298.  
  299. A. Depending on what type of video adapter you have fitted to your
  300. computer, only a very few of the infinite number of colours can be shown
  301. as pure or "solid" colours. Normally your system will provide 16 such
  302. solid colours, and you will see these in the block of colours shown at
  303. top left in the colour selection dialog.
  304.  
  305. When Windows is asked to display some other colour, it has to use a
  306. technique known as "dithering", that simulates the shade you want. For
  307. example, it might produce a pale blue by drawing a fine grid of dark
  308. blue lines on a white background; this will appear to be the colour you
  309. wanted when seen from a suitable distance.
  310.  
  311. Dithered colours are very unpleasant to use as backgrounds for text, and
  312. writing text on such a background is very much slower that if the
  313. background were a solid colour. For these reasons, PFE does not support
  314. the use of dithered colours, but instead translates the colour value you
  315. select to the closest available solid colour.
  316.  
  317. ----
  318.  
  319. Q. Does PFE run correctly under Windows NT 3.5 and Windows 95?
  320.  
  321. A. The 32-bit edition of PFE requires Windows NT 3.5 to run; it will not
  322. work on Windows NT 3.1
  323.  
  324. The 32-bit edition has been tested on the Windows 95 M7 beta release and
  325. works satisfactorily. Some functions do not yet have the normal Windows
  326. 95 look and feel, and integration into the Windows 95 shell is yet to be
  327. done.
  328.  
  329. ----
  330.  
  331. Q. I work with a number of large projects and would like to have
  332. separate customised PFE environments. Can I do this?
  333.  
  334. A. You can use PFE's ability to locate its initialisation file pfe.ini
  335. or pfe32.ini in arbitrary directories to do this.
  336.  
  337. Start the Options Preferences command, and select the "Startup" panel
  338. from the list on the left. In the panel on the right, click the "In
  339. startup directory" button.
  340.  
  341. PFE will now take its initialisation file from the directory it starts
  342. in, so you can have specific Program Manager icons that start t in
  343. directories specific to each individual project.
  344.  
  345. The default key map file pfe.key or pfe32.key is also looked for in this
  346. directory, and perhaps you will want to do this. However, if you want to
  347. have only one centralised key map file, you should use the "key Mapping"
  348. panel of the Options Preferences dialog to set a specific path name for
  349. the key map file that is independent of the initialisation directory.
  350. This can, of course, be a path in your Windows directory.
  351.  
  352. --
  353.  
  354. Q. What are the licensing arrangements for PFE? I use it at home and
  355. would like to do so at my work too.
  356.  
  357. A. PFE is FreeWare. You don't need to register to use it, and there is
  358. no fee. You can use it at home, or at work without restriction.
  359.  
  360. If PFE provides functionality that is necessary for any software that
  361. you are marketing (for example, it's necessary for users of your product
  362. to have an editor that can cope with huge files) then you can obtain a
  363. licence that will enable you to do this.
  364.  
  365. The help file contains full details on the current usage and licensing
  366. position.
  367.  
  368. --
  369.  
  370. Q. I'm editing files on a NFS-mounted partition, and whenever I save my
  371. edit changes the long name of the file disappears and all I see is the
  372. NFS-generated 8.3 name. What's happened?
  373.  
  374. A. The problem is in the way that PFE makes backups when you save files.
  375. In the current version, any existing file is renamed to be the backup
  376. copy, and a new file is created with the old name to save the changes
  377. into.
  378.  
  379. The step of renaming the file breaks the association that NFS maintains
  380. between the DOS 8.3 name and the file's long name. Thus, when PFE
  381. creates the new file to save - using the 8.3 name - NFS can no longer
  382. translate this to the "real" name and so has to pass the 8.3 name itself
  383. to Windows.
  384.  
  385. The only circumvention available in the current release is to disable
  386. making backup copies in these circumstances.
  387.  
  388. --
  389.  
  390. Q. I'm using Windows NT on an Intel system and also on a PowerPC. The
  391. PowerPC version of PFE does not think that keymap and template files I
  392. made on the Intel version are valid. What's wrong?
  393.  
  394. A. For this release of PFE it was not possible to make the format of
  395. .key and .tpl files the same between versions of the 32-bit edition for
  396. different hardware platforms. This will be corrected in a forthcoming
  397. release
  398.  
  399. --
  400.  
  401. Q. Why doesn't the 32-bit edition of PFE support long file names on my
  402. NTFS and FAT partitions under Windows NT and Winbdows 95?
  403.  
  404. A. Actually, the 32-bit edition _does_ support long file names. The probable
  405. reason that you think it doesn't has to do with a design flaw in the Microsoft
  406. Common Dialogs - these are the standard dialogs that you see when you open and
  407. save files.
  408.  
  409. The dialogs all date back to the first release Windows 3.10, long before
  410. Windows NT. Microft designed them so that an application could - as PFE does -
  411. allow multiple files to be selected in one go; in such cases the application is
  412. given a list of filenames, separated by spaces.
  413.  
  414. The problem is that under NTFS the space character is a legal part of a file
  415. name. The Common Dialog routines can't tell whether something with a space in
  416. it is one file name containing a space, or two filenames that don't.
  417.  
  418. There is no solution to this other than to not use spaces as part of your long
  419. file names.
  420.  
  421. --
  422.